import request from "@/utils/request_wwg";
import type { resHeaderData,listeningcontainerModel } from "@/api/model/listeningModel";

// 定义请求地址
enum Api {
  GetlisteningHeaderList = "/revision/subject/category",
  GetlisteningContainerList = "/revision/subject/categorySubjectList/remen",
}

//获取头部分类列表
export const getlisteningHeaderListApi = () => {
  return request.get<any, resHeaderData>(Api.GetlisteningHeaderList);
};

//获取分类听单列表
export const getlisteningContainerListApi = ()=>{
    return request.get<any,listeningcontainerModel>(Api.GetlisteningContainerList)
}
